This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class Environment | ||||
class, Environment | So, 28. Apr 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Allows you to access system wide environment properties. | ||||
Add(name as string,value as string) as boolean | ||||
method, Environment | So, 28. Apr 2002 | |||
Mac OS Classic: does allways return "". | Mac OS Carbon: does allways return "". | Windows: Works. | ||
Function:
Add a property to the list. | ||||
Example:
dim e as Environment e=new Environment if e.add("authorname","Christian") then msgbox "ok" else msgbox "fail" end if | ||||
Notes:
Setting this value to some new value will currently only change this value for your application and all child applications. | ||||
Count as integer | ||||
property, Environment | So, 28. Apr 2002 | |||
Mac OS Classic: does allways return 0. | Mac OS Carbon: does allways return 0. | Windows: Works. | ||
Function:
Returns the number of environment properties. | ||||
Example:
dim e as Environment e=new Environment msgbox str(e.count) | ||||
Get(name as string) as string | ||||
method, Environment | So, 28. Apr 2002 | |||
Mac OS Classic: does allways return "". | Mac OS Carbon: does allways return "". | Windows: Works. | ||
Function:
Returns the value for a named property. | ||||
Example:
dim e as Environment e=new Environment msgbox e.get("windir") // normally c:\windows | ||||
Name(n as integer) as string | ||||
method, Environment | So, 28. Apr 2002 | |||
Mac OS Classic: does allways return "". | Mac OS Carbon: does allways return "". | Windows: Works. | ||
Function:
Returns the name of the environment propertie number n. | ||||
Update | ||||
method, Environment | So, 28. Apr 2002 | |||
Mac OS Classic: does allways return 0. | Mac OS Carbon: does allways return 0. | Windows: Works. | ||
Function:
Updates the object to the current environment properties. | ||||
Notes:
This method is called by the constructor and the methods which change the environment properties. | ||||
Value(n as integer) as string | ||||
method, Environment | So, 28. Apr 2002 | |||
Mac OS Classic: does allways return "". | Mac OS Carbon: does allways return "". | Windows: Works. | ||
Function:
Returns the value of the environment propertie number n. | ||||
Notes:
Setting this value to some new value will currently only change this value for your application and all child applications. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.